//
//  LGKNoteUploadModel.h
//  LGKNote
//
//  Created by 刘亚军 on 2023/5/30.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
typedef enum : NSUInteger {
    LGKNoteUploadStateProgress,//上传中
    LGKNoteUploadStateError,//上传失败
    LGKNoteUploadStateSuccess,//上传成功
} LGKNoteUploadState;
@interface LGKNoteUploadModel : NSObject
@property (nonatomic,assign) LGKNoteUploadState state;
@property (nonatomic, strong) NSString *key;
@property (nonatomic, strong) UIImage *image;
@property (nonatomic, strong) NSData *fileData;
@property (nonatomic, strong) NSString *imgUrl;
- (NSString *)uuid;
+ (id)jsonObject:(NSString *)jsonString;
@end

NS_ASSUME_NONNULL_END
